<p class="select-menu"><?php echo $selected; ?></p>
<form class="form" action="<?php echo site_url('admin/nha-mau/delete/submit') ?>" method="post">
    <div class="action">
        <a class="addnew" href="<?php echo site_url('admin/nha-mau/add') ?>">Đăng tin</a>
        <input type="submit" class="bt-delete" name="bt-del" value="Xóa tin"/>
    </div>
    <table class="tb-show">
        <thead>
            <tr>
                <th class="check-th">Chọn</th>
                <th class="ten-th">Tên tin nhà mẫu</th>
                <th class="date-th">Ngày Đăng</th>
            </tr>

        </thead>
        <tbody>
            <?php
            if (!empty($list_du_an)) {
                for ($i = 0; $i < count($list_du_an); $i++) {
                    ?>
                    <tr <?php if ($i == count($list_du_an) - 1) echo "class='tr-end'" ?>>
                        <td class="check-td"><input value="<?php echo $list_du_an[$i]['id'] ?>" type="checkbox" name="check[]"/></td>
                        <td class="ten-td"><a href="<?php echo site_url('admin/nha-mau/'.$list_du_an[$i]['id']).'/edit'; ?>"><?php echo $list_du_an[$i]['title'] ?></a></td>
                        <td class="date-td"><?php echo $list_du_an[$i]['created_date'] ?></td>
                    </tr>
                    <?php
                }
            }
            ?>
        </tbody>
    </table>
</form>
